ServerEvents.recipes((event) => {
    //删除
    event.remove({ type: "createsifter:sifting" })//删除筛子配方
    event.remove({ output: "create:smart_chute" })//智能溜槽
    event.remove({ output: "create:steam_engine" })//蒸汽引擎
    event.remove({ output: "create:clockwork_bearing" })//发条轴承
    event.remove({ output: "create:elevator_pulley" })//升降机滑轮
    event.remove({ output: "create:mechanical_crafter" })//动力合成器
    event.remove({ output: "create:rotation_speed_controller" })//转速控制器
    event.remove({ output: "create:mechanical_arm" })//动力臂
    event.remove({ output: "create:railway_casing" })//列车机壳
    event.remove({ output: "create:brass_funnel" })//黄铜漏斗
    event.remove({ output: "create:brass_tunnel" })//黄铜隧道
    event.remove({ output: "create:display_link" })//显示链接器
    event.remove({ output: "create:deployer" })//机械手
    event.remove({ output: "create:large_cogwheel" })//大齿轮
    event.remove({ output: "create:cogwheel" })//小齿轮
    event.remove({ output: "create:shaft" })//传动轴
    event.remove({ output: "create:rose_quartz" })//玫瑰石英
    event.remove({ output: "create:polished_rose_quartz" })//磨制玫瑰石英
    event.remove({ output: "rainbowcompound:blazeite_ingot" })//烈焰合金
    event.remove({ output: "#forge:ingots/obsidianite" })//黑曜石合金锭
    event.remove({ output: "ae2:silicon" })//硅
    event.remove({ output: "create:electron_tube" })//电子管
    event.remove({ output: "ae2:sky_dust" })//陨石粉
    event.remove({ output: "ae2:printed_silicon" })//硅板
    // event.remove({ output: "ae2:printed_calculation_processor" })//计算电路板
    // event.remove({ output: "ae2:printed_engineering_processor" })//工程电路板
    // event.remove({ output: "ae2:printed_logic_processor" })//逻辑电路板
    // event.remove({ output: "ae2:calculation_processor" })//计算处理器
    // event.remove({ output: "ae2:engineering_processor" })//工程处理器
    // event.remove({ output: "aae2:logic_processor" })//逻辑处理器
    //添加
    event.smithing('create:smart_chute', 'eou:brass_core', 'create:chute')//智能溜槽
    event.recipes.create.mechanical_crafting('create:steam_engine', [
        'DEGG  ',
        'ACCBBB',
        'DEFG  '
    ], {
        A: 'eou:brass_core',
        B: 'eou:copper_core',
        C: 'create:fluid_pipe',
        D: 'create:mechanical_pump',
        E: 'create:precision_mechanism',
        F: 'create:rotation_speed_controller',
        G: 'create:copper_casing'
    })//蒸汽引擎
    event.smithing('create:clockwork_bearing', 'eou:brass_core', 'create:large_cogwheel')//发条轴承
    event.smithing('create:elevator_pulley', 'eou:brass_core', 'create:rope_pulley')//升降机滑轮
    event.smithing('3x create:mechanical_crafter', 'eou:brass_core', 'minecraft:crafting_table')//动力合成器
    event.smithing('create:rotation_speed_controller', 'eou:brass_core', 'create:precision_mechanism')//转速控制器
    event.smithing('create:mechanical_arm', 'eou:brass_core', 'create:deployer')//动力臂

    event.recipes.create.sequenced_assembly([
        Item.of('4x create:railway_casing').withChance(90.0),
        Item.of('1x create:railway_casing').withChance(2.0),
        Item.of('create:sturdy_sheet').withChance(4.0),
        Item.of('creata:brass_casing').withChance(6.0),
        Item.of('create_things_and_misc:sturdy_sheet_block').withChance(8.0),
    ], 'eou:brass_core', [
        event.recipes.createDeploying('eou:incomplete_railway_casing', ['eou:incomplete_railway_casing', '#forge:ingots/lead']),
        event.recipes.createPressing('eou:incomplete_railway_casing', 'eou:incomplete_railway_casing'),
        event.recipes.createDeploying('eou:incomplete_railway_casing', ['eou:incomplete_railway_casing', 'create:sturdy_sheet']),
        event.recipes.createPressing('eou:incomplete_railway_casing', 'eou:incomplete_railway_casing')
    ]).transitionalItem('eou:incomplete_railway_casing').loops(4)//列车机壳

    event.stonecutting('2x create:brass_funnel', 'eou:brass_core')//黄铜漏斗
    event.stonecutting('8x create:brass_tunnel', 'eou:brass_core')//黄铜隧道
    event.stonecutting('create:display_link', 'eou:brass_core')//显示链接器
    event.smithing('create:deployer', 'eou:brass_core', 'create:brass_hand')//机械手

    event.recipes.create.sequenced_assembly([
        Item.of('2x create:large_cogwheel').withChance(90.0),
    ], 'create:shaft', [
        event.recipes.createDeploying('eou:incomplete_largecogwheel', ['eou:incomplete_largecogwheel', '#minecraft:planks']),
        event.recipes.createCutting('eou:incomplete_largecogwheel', 'eou:incomplete_largecogwheel'),
        event.recipes.createDeploying('eou:incomplete_largecogwheel', ['eou:incomplete_largecogwheel', 'createindustry:screwdriver']),
    ]).transitionalItem('eou:incomplete_largecogwheel').loops(4)//大齿轮

    event.recipes.create.sequenced_assembly([
        Item.of('4x create:cogwheel').withChance(90.0),
    ], 'create:shaft', [
        event.recipes.createDeploying('eou:incomplete_cogwheel', ['eou:incomplete_cogwheel', '#minecraft:wooden_slabs']),
        event.recipes.createCutting('eou:incomplete_cogwheel', 'eou:incomplete_cogwheel'),
        event.recipes.createDeploying('eou:incomplete_cogwheel', ['eou:incomplete_cogwheel', '#forge:sand']),
    ]).transitionalItem('eou:incomplete_cogwheel').loops(4)//小齿轮

    event.recipes.create.sequenced_assembly([
        Item.of('4x create:shaft').withChance(90.0),
    ], 'create:andesite_alloy', [
        event.recipes.createDeploying('eou:incomplete_shaft', ['eou:incomplete_shaft', '#minecraft:wooden_buttons']),
        event.recipes.createCutting('eou:incomplete_shaft', 'eou:incomplete_shaft'),
        event.recipes.createPressing('eou:incomplete_shaft', 'eou:incomplete_shaft'),
        event.recipes.createDeploying('eou:incomplete_shaft', ['eou:incomplete_shaft', 'createindustry:screwdriver']),
    ]).transitionalItem('eou:incomplete_shaft').loops(4)//传动轴

    event.recipes.create.sequenced_assembly([
        Item.of('4x eou:seaweed_paste').withChance(90.0),
    ], 'minecraft:clay_ball', [
        event.recipes.createDeploying('eou:incomplete_seaweed_paste', ['eou:incomplete_seaweed_paste', 'minecraft:kelp']),
        event.recipes.createFilling('eou:incomplete_seaweed_paste', ['eou:incomplete_seaweed_paste', Fluid.water(1000)]),
        event.recipes.createDeploying('eou:incomplete_seaweed_paste', ['eou:incomplete_seaweed_paste', 'minecraft:clay_ball']),
        event.recipes.createFilling('eou:incomplete_seaweed_paste', ['eou:incomplete_seaweed_paste', Fluid.water(1000)]),
        event.recipes.createPressing('eou:incomplete_seaweed_paste', 'eou:incomplete_seaweed_paste'),
        event.recipes.createPressing('eou:incomplete_seaweed_paste', 'eou:incomplete_seaweed_paste'),
    ]).transitionalItem('eou:incomplete_seaweed_paste').loops(5)//海带糊糊

    event.recipes.create.sequenced_assembly([
        Item.of('2x eou:power_mechanism').withChance(90.0),
    ], 'create:andesite_alloy', [
        event.recipes.createDeploying('eou:incomplete_power_mechanism', ['eou:incomplete_power_mechanism', 'create:belt_connector']),
        event.recipes.createDeploying('eou:incomplete_power_mechanism', ['eou:incomplete_power_mechanism', 'create:shaft']),
        event.recipes.createDeploying('eou:incomplete_power_mechanism', ['eou:incomplete_power_mechanism', 'create:cogwheel']),
        event.recipes.createDeploying('eou:incomplete_power_mechanism', ['eou:incomplete_power_mechanism', 'create:large_cogwheel']),
        event.recipes.createDeploying('eou:incomplete_power_mechanism', ['eou:incomplete_power_mechanism', 'createindustry:screwdriver']),
        event.recipes.createCutting('eou:incomplete_power_mechanism', 'eou:incomplete_power_mechanism'),
    ]).transitionalItem('eou:incomplete_power_mechanism').loops(2)//动力构件

    event.recipes.create.sequenced_assembly([
        Item.of('eou:unfinished_precision_mechanism').withChance(90.0),
    ], 'createaddition:electrum_spool', [
        event.recipes.createDeploying('eou:incomplete_presicion_mechanism', ['eou:incomplete_presicion_mechanism', '#forge:ingots/brass']),
        event.recipes.createDeploying('eou:incomplete_presicion_mechanism', ['eou:incomplete_presicion_mechanism', '#forge:ingots/bronze']),
        event.recipes.createDeploying('eou:incomplete_presicion_mechanism', ['eou:incomplete_presicion_mechanism', 'eou:power_mechanism']),
        event.recipes.createDeploying('eou:incomplete_presicion_mechanism', ['eou:incomplete_presicion_mechanism', 'createindustry:screwdriver']),
        event.recipes.createPressing('eou:incomplete_presicion_mechanism', 'eou:incomplete_presicion_mechanism'),
        event.recipes.createCutting('eou:incomplete_presicion_mechanism', 'eou:incomplete_presicion_mechanism'),
    ]).transitionalItem('eou:incomplete_presicion_mechanism').loops(2)//未打磨的精密构件

    event.recipes.create.sequenced_assembly([
        Item.of('eou:sealing_mechanism').withChance(90.0),
    ], 'eou:power_mechanism', [
        event.recipes.createDeploying('eou:incomplete_sealing_mechanism', ['eou:incomplete_sealing_mechanism', '#forge:slimeballs']),
        event.recipes.createPressing('eou:incomplete_sealing_mechanism', 'eou:incomplete_sealing_mechanism'),
        event.recipes.createCutting('eou:incomplete_sealing_mechanism', 'eou:incomplete_sealing_mechanism'),
        event.recipes.createFilling('eou:incomplete_sealing_mechanism', ['eou:incomplete_sealing_mechanism', Fluid.of('create_things_and_misc:slime', 100)]),
        event.recipes.createPressing('eou:incomplete_sealing_mechanism', 'eou:incomplete_sealing_mechanism'),
        event.recipes.createCutting('eou:incomplete_sealing_mechanism', 'eou:incomplete_sealing_mechanism'),
    ]).transitionalItem('eou:incomplete_presicion_mechanism').loops(2)//密封构件

    event.recipes.createMilling([Item.of('#forge:dusts/quartz').withChance(0.3), Item.of('eou:rough_dust_quartz').withChance(0.4)], 'minecraft:quartz')//石英粉和粗糙石英粉
    event.recipes.createMilling([Item.of("#forge:dusts/quartz").withChance(0.5)], 'eou:rough_dust_quartz')//粗糙石英粉精炼
    event.recipes.createMixing([Fluid.of('eou:molten_quartz', 100)], ['#forge:dusts/quartz', '#forge:dusts/obsidian', Fluid.lava(100)])//熔融石英
    event.recipes.createMixing([Fluid.of('eou:molten_redstone', 10)], ['minecraft:redstone', Fluid.water(10)]).heated()//熔融红石
    event.recipes.createMixing([Fluid.of('eou:molten_rose_quartz', 100)], [Fluid.of('eou:molten_quartz', 100), Fluid.of('eou:molten_redstone', 100), '2x minecraft:sand']).heated()//熔融玫瑰石英

    event.recipes.create.sequenced_assembly([
        Item.of('eou:quartz_crystal_seed').withChance(90.0),
    ], '#forge:dusts/quartz', [
        event.recipes.createFilling('eou:incomplete_quartz_crystal_seed', ['eou:incomplete_quartz_crystal_seed', Fluid.of('eou:molten_redstone', 100)]),
        event.recipes.createPressing('eou:incomplete_quartz_crystal_seed', 'eou:incomplete_quartz_crystal_seed'),
        event.recipes.createFilling('eou:incomplete_quartz_crystal_seed', ['eou:incomplete_quartz_crystal_seed', Fluid.of('eou:molten_quartz', 100)]),
        event.recipes.createPressing('eou:incomplete_quartz_crystal_seed', 'eou:incomplete_quartz_crystal_seed'),
    ]).transitionalItem('eou:incomplete_quartz_crystal_seed').loops(2)//结晶种子

    event.recipes.createMixing(['create:rose_quartz'], [Fluid.of('eou:molten_rose_quartz', 300), 'eou:quartz_crystal_seed']).heated()//玫瑰石英
    event.recipes.createMilling(['#forge:dusts/iron'], '#forge:ingots/iron')//铁粉#1
    event.recipes.createCrushing(['#forge:dusts/iron'], '#forge:ingots/iron')//铁粉#2

    event.recipes.create.sequenced_assembly([
        Item.of('create:polished_rose_quartz').withChance(90.0),
    ], 'create:rose_quartz', [
        event.recipes.createDeploying('eou:incomplete_polished_rose_quartz', ['eou:incomplete_polished_rose_quartz', '#forge:gravel']),
        event.recipes.createDeploying('eou:incomplete_polished_rose_quartz', ['eou:incomplete_polished_rose_quartz', '#forge:dusts/iron']),
        event.recipes.createFilling('eou:incomplete_quartz_crystal_seed', ['eou:incomplete_quartz_crystal_seed', Fluid.of('create_things_and_misc:slime', 100)]),
        event.recipes.createDeploying('eou:incomplete_polished_rose_quartz', ['eou:incomplete_polished_rose_quartz', 'minecraft:sand']),
        event.recipes.createCutting('eou:incomplete_polished_rose_quartz', 'eou:incomplete_polished_rose_quartz'),
    ]).transitionalItem('eou:incomplete_polished_rose_quartz').loops(10)//磨制玫瑰石英

    event.recipes.createMixing(['rainbowcompound:blazeite_ingot'], ['2x #forge:ingots/bronze', '2x #forge:ingots/brass', 'minecraft:blaze_powder']).superheated()//烈焰合金
    event.recipes.createMixing(['#forge:ingots/obsidianite'], ['8x create:sturdy_sheet', '#forge:gems/diamond', '8x create:andesite_alloy', '2x #forge:ingots/electrum', Fluid.lava(100), Fluid.of("minecraft:milk", 100)]).superheated()//黑曜石合金锭
    event.blasting('#forge:silicon', '#forge:dusts/quartz')//硅
    event.recipes.create.mechanical_crafting('create:electron_tube', [
        '  A  ',
        ' DED ',
        'BFEFB',
        'CFEFC',
        ' DED '
    ], {
        A: 'create:polished_rose_quartz',
        B: 'rainbowcompound:blazeite_ingot',
        C: '#forge:ingots/obsidianite',
        D: 'minecraft:iron_bars',
        E: '#forge:wires/lead',
        F: '#forge:silicon'
    })//电子管#1

    event.recipes.create.mechanical_crafting('create:electron_tube', [
        '  HAH  ',
        ' BEFEB ',
        'DBGFGBD',
        'HCGFGCH',
        ' CEFEC '
    ], {
        A: 'create:polished_rose_quartz',
        B: '#forge:ingots/brass',
        C: '#forge:ingots/bronze',
        D: '#forge:ingots/obsidianite',
        E: 'minecraft:iron_bars',
        F: '#forge:wires/lead',
        G: '#forge:silicon',
        H: '#forge:ingots/gold'
    })//电子管#2

    event.recipes.create.mechanical_crafting('create:electron_tube', [
        ' A ',
        ' C ',
        'BCB',
        ' C ',
        ' C '
    ], {
        A: 'create:polished_rose_quartz',
        B: 'rainbowcompound:blazeite_ingot',
        C: 'create:precision_mechanism',
    })//电子管#3

    event.recipes.create.mechanical_crafting('create:electron_tube', [
        'DAD',
        'BEB',
        'CEC',
        'CEC',
        'BEB'
    ], {
        A: 'create:polished_rose_quartz',
        B: '#forge:ingots/brass',
        C: '#forge:ingots/bronze',
        D: '#forge:ingots/gold',
        E: 'create:precision_mechanism',
    })//电子管#4

    event.recipes.create.sequenced_assembly([
        Item.of('eou:basic_machine_core').withChance(90.0),
    ], 'create:electron_tube', [
        event.recipes.createDeploying('eou:incomplete_basic_machine_core', ['eou:incomplete_basic_machine_core', 'eou:sealing_mechanism']),
        event.recipes.createDeploying('eou:incomplete_basic_machine_core', ['eou:incomplete_basic_machine_core', 'eou:power_mechanism']),
        event.recipes.createDeploying('eou:incomplete_basic_machine_core', ['eou:incomplete_basic_machine_core', 'create:brass_casing']),
        event.recipes.createCutting('eou:incomplete_basic_machine_core', 'eou:incomplete_basic_machine_core'),
        event.recipes.createCutting('eou:incomplete_basic_machine_core', 'eou:incomplete_basic_machine_core'),
        event.recipes.createCutting('eou:incomplete_basic_machine_core', 'eou:incomplete_basic_machine_core')
    ]).transitionalItem('eou:incomplete_basic_machine_core').loops(2)//基础机器核心

    event.recipes.createCrushing('ae2:sky_dust', 'eou:crushed_sky_stone')//粉碎陨石
    event.recipes.createCrushing([Item.of('ae2:sky_dust').withChance(0.2), Item.of('eou:crushed_sky_stone').withChance(0.1)], 'ae2:sky_stone_block')//陨石粉
    event.recipes.createsifter.sifting(Item.of('eou:certus_quartz_powder').withChance(0.2), 'eou:crushed_sky_stone')//赛特斯水晶尘埃
    event.shaped('ae2:certus_quartz_dust', [
        'AAA',
        'AAA',
        'AAA'
    ], {
        A: 'eou:certus_quartz_powder'
    })//赛特斯石英粉

    event.recipes.createMixing(Fluid.of('eou:molten_sky_stone', 100), [Fluid.lava(100), 'ae2:sky_dust'])//熔融陨石
    event.recipes.createCompacting('ae2:certus_quartz_crystal', ['ae2:certus_quartz_dust', Fluid.of('eou:molten_sky_stone', 1000)]).superheated()//赛特斯水晶

    event.recipes.create.sequenced_assembly([
        Item.of('ae2:damaged_budding_quartz').withChance(90.0),
    ], 'ae2:quartz_block', [
        event.recipes.createDeploying('eou:incomplete_budding_quartz', ['eou:incomplete_budding_quartz', 'ae2:sky_dust']),
        event.recipes.createFilling('eou:incomplete_budding_quartz', ['eou:incomplete_budding_quartz', Fluid.of('eou:molten_redstone', 50)]),
        event.recipes.createDeploying('eou:incomplete_budding_quartz', ['eou:incomplete_budding_quartz', 'minecraft:quartz']),
        event.recipes.createFilling('eou:incomplete_budding_quartz', ['eou:incomplete_budding_quartz', Fluid.of('eou:molten_sky_stone', 100)]),
        event.recipes.createPressing('eou:incomplete_budding_quartz', 'eou:incomplete_budding_quartz'),
        event.recipes.createPressing('eou:incomplete_budding_quartz', 'eou:incomplete_budding_quartz')
    ]).transitionalItem('eou:incomplete_budding_quartz').loops(4)//损坏的赛特斯水晶石英母岩

    event.recipes.create.sequenced_assembly([
        Item.of('ae2:printed_silicon').withChance(90.0),
    ], '#forge:silicon', [
        event.recipes.createPressing('eou:incomplete_printed_silicon', 'eou:incomplete_printed_silicon'),
        event.recipes.createCutting('eou:incomplete_printed_silicon', 'eou:incomplete_printed_silicon')
    ]).transitionalItem('eou:incomplete_printed_silicon').loops(8)//硅板

    event.recipes.create.sequenced_assembly([
        Item.of('ae2:printed_calculation_processor').withChance(90.0),
    ], '#forge:gems/certus_quartz', [
        event.recipes.createPressing('eou:incomplete_printed_calculation_processor', 'eou:incomplete_printed_calculation_processor'),
        event.recipes.createCutting('eou:incomplete_printed_calculation_processor', 'eou:incomplete_printed_calculation_processor')
    ]).transitionalItem('eou:incomplete_printed_calculation_processor').loops(8)//计算电路板

    event.recipes.create.sequenced_assembly([
        Item.of('ae2:printed_engineering_processor').withChance(90.0),
    ], '#forge:gems/diamond', [
        event.recipes.createPressing('eou:incomplete_printed_engineering_processor', 'eou:incomplete_printed_engineering_processor'),
        event.recipes.createCutting('eou:incomplete_printed_engineering_processor', 'eou:incomplete_printed_engineering_processor')
    ]).transitionalItem('eou:incomplete_printed_engineering_processor').loops(8)//工程电路板

    event.recipes.create.sequenced_assembly([
        Item.of('ae2:printed_logic_processor').withChance(90.0),
    ], '#forge:ingots/gold', [
        event.recipes.createCutting('eou:incomplete_printed_logic_processor', 'eou:incomplete_printed_logic_processor'),
        event.recipes.createPressing('eou:incomplete_printed_logic_processor', 'eou:incomplete_printed_logic_processor')
    ]).transitionalItem('eou:incomplete_printed_logic_processor').loops(8)//逻辑电路板

    event.recipes.create.sequenced_assembly([
        Item.of('ae2:calculation_processor').withChance(90.0),
    ], 'ae2:printed_silicon', [
        event.recipes.createDeploying('eou:incomplete_calculation_processor', ['eou:incomplete_calculation_processor', 'ae2:printed_calculation_processor']),
        event.recipes.createDeploying('eou:incomplete_calculation_processor', ['eou:incomplete_calculation_processor', 'minecraft:redstone']),
    ]).transitionalItem('eou:incomplete_calculation_processor').loops(1)//计算处理器

    event.recipes.create.sequenced_assembly([
        Item.of('ae2:engineering_processor').withChance(90.0),
    ], 'ae2:printed_silicon', [
        event.recipes.createDeploying('eou:incomplete_engineering_processor', ['eou:incomplete_engineering_processor', 'ae2:printed_engineering_processor']),
        event.recipes.createDeploying('eou:incomplete_engineering_processor', ['eou:incomplete_engineering_processor', 'minecraft:redstone']),
    ]).transitionalItem('eou:incomplete_engineering_processor').loops(1)//工程处理器

    event.recipes.create.sequenced_assembly([
        Item.of('ae2:logic_processor').withChance(90.0),
    ], 'ae2:printed_silicon', [
        event.recipes.createDeploying('eou:incomplete_logic_processor', ['eou:incomplete_logic_processor', 'ae2:printed_logic_processor']),
        event.recipes.createDeploying('eou:incomplete_logic_processor', ['eou:incomplete_logic_processor', 'minecraft:redstone']),
    ]).transitionalItem('eou:incomplete_logic_processor').loops(1)//逻辑处理器

    event.shapeless('eou:signal_component', ['ae2:calculation_processor', 'ae2:engineering_processor', 'ae2:logic_processor', 'create:precision_mechanism'])//信号构件

    event.custom({
        "type": "create:item_application",
        "ingredients": [
            {
                "item": "#forge:stripped_logs"
            },
            {
                "item": "ae2:printed_silicon"
            }
        ],
        "results": [
            {
                "item": "eou:signal_casing"
            }
        ]
    })//信号机壳

    event.custom({
        "type": "create:item_application",
        "ingredients": [
            {
                "item": "eou:signal_casing"
            },
            {
                "item": "eou:signal_component"
            }
        ],
        "results": [
            {
                "item": "eou:signal_core"
            }
        ]
    })//信号核心
})
